import dotenv from "dotenv";
dotenv.config(); //使用环境变量
export const getEnv = () => process?.env.NODE_ENV?.trim() || "production";

export const isDevelopment = () => getEnv() === "development";
